package com.curry.cloud.rpc;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;

@FeignClient(value = "xaro",fallback = FeignXaroFallback.class)
public interface FeignXaro {

    @PostMapping("/file/{bucketName}")
    void testFeignFallback(@PathVariable(value = "bucketName") String bucketName);
}
